package com.hospital.workstation.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hospital.common.annotation.ExcelDictFormat;
import com.hospital.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;


/**
 * 医疗相关法律法规视图对象 hospital_laws_regulations_medicine
 *
 * @author hospital
 * @date 2023-03-20
 */
@Data
@ExcelIgnoreUnannotated
public class LawsRegulationsMedicineVo {

    private static final long serialVersionUID = 1L;

    /**
     * 法律法规ID
     */
    @ExcelProperty(value = "法律法规ID")
    private Long id;

    /**
     * 医疗法律法规内容
     */
    @ExcelProperty(value = "医疗法律法规内容")
    private String lawsRegulationsContent;

    /**
     * 法律法规类别（1住院医师 2隐私权 3医学教育）
     */
    @ExcelProperty(value = "法律法规类别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=住院医师,2=隐私权,3=医学教育")
    private String lawsCategory;

    /**
     * 法律法规类别标签
     */
    private String lawsCategoryStr;

    /**
     * 附件ID
     */
    @ExcelProperty(value = "附件ID")
    private Long ossId;

    /**
     * 附件地址
     */
    @ExcelProperty(value = "附件地址")
    private String ossUrl;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;
}
